package com.bckj.fastboot.iot.biz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.bckj.fastboot.core.lang.model.PageResult;
import com.bckj.fastboot.iot.common.dto.query.IotProtocolQuery;
import com.bckj.fastboot.iot.common.dto.response.IotProtocolResponse;
import com.bckj.fastboot.iot.common.entity.IotProtocolItem;

import java.util.List;

/**
 * IotProtocolQueryService
 * 公共查询服务
 *
 * @author wfc
 * @date 2025/9/26 11:45
 **/
public interface IotProtocolQueryService {

    IotProtocolResponse details(Long id);

    List<IotProtocolResponse> findList(IotProtocolQuery query);

    PageResult<IotProtocolResponse> page(IPage<IotProtocolResponse> page, IotProtocolQuery query);

    List<IotProtocolItem> findItems(String protocolCode, String cmd);

}
